package shuai.model;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;


/**
 * Categories entity. @author MyEclipse Persistence Tools
 */

public class Categories  implements java.io.Serializable {


    // Fields    

     private BigDecimal id;
     private String name;
     private Set bookses = new HashSet(0);


    // Constructors

    /** default constructor */
    public Categories() {
    }

	/** minimal constructor */
    public Categories(String name) {
        this.name = name;
    }
    
    /** full constructor */
    public Categories(String name, Set bookses) {
        this.name = name;
        this.bookses = bookses;
    }

   
    // Property accessors

    public BigDecimal getId() {
        return this.id;
    }
    
    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getBookses() {
        return this.bookses;
    }
    
    public void setBookses(Set bookses) {
        this.bookses = bookses;
    }
   








}